<?php if ($subordinate->num_rows() > 0): ?>
<ul>
    <?php foreach($subordinate->result() as $value):  ?>
    <li>
        <a href="<?php echo site_url('tourism/goods/search').'?cid='.$value->id.'&level='.$value->level ?>"><?php echo $value->name ?></a>
    </li>
    <?php endforeach ?>
</ul>
<?php endif ?>